package com.lebang.mapper;

import com.lebang.domain.CustomerMemberDiscontent;
import com.lebang.example.CustomerMemberDiscontentExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * CustomerMemberDiscontentMapper继承基类
 */
@Mapper
public interface CustomerMemberDiscontentMapper extends MyBatisBaseDao<CustomerMemberDiscontent, Long, CustomerMemberDiscontentExample> {
    Long selectByTime(@Param("star") LocalDateTime star, @Param("end") LocalDateTime end, @Param("appStore") String appStore);
    List<CustomerMemberDiscontent> selectCount(@Param("star") LocalDateTime star, @Param("end") LocalDateTime end, @Param("appStore") String appStore);
}